package com.example.fireassistant_server.dto.hydrant;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class FireHydrantAddRequest {
    @NotNull(message = "latitude不能为空")
    private BigDecimal latitude;

    @NotNull(message = "longitude不能为空")
    private BigDecimal longitude;

    @NotBlank(message = "flowRate不能为空")
    private String flowRate;

    private String name;

    //消火栓状态
    private Boolean status;

    private String description;

}
